Show AllShow All

About sharing data connections

Query files are text files that contain data source information, including the name of the server where the data is located and the connection information you provide when you create a data source. Query files make it possible for you to share queries with other users.

Opening either an Office database connection ( .odc) file or database query (.dqy) file runs the query and displays a worksheet containing the retrieved data. Opening a .odc or OLAP query (.oqy) query file connects you to the OLAP database or cube and displays a worksheet with a blank PivotTable report for the OLAP data. After you open a query file, you can save an Excel workbook file that contains the retrieved external data. However, you can't use the Save command on the Excel File menu to save in the .dqy or .oqy query file formats.

ShowCreating query files

ShowUsing other query file formats

ShowSharing data

ShowFormatting and changing queries